module.exports = (sequelize, Types) => {
    const User = sequelize.define('User', {
        id: {
            type: Types.INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        username: Types.VARCHAR(64),
        name: Types.VARCHAR(32),
        super: Types.BIT(1),
        status: Types.INTEGER(11),
        email: Types.VARCHAR(32),
    });
    User.sync();
    return User;
};